package com.shop.entity.user;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {
    private Integer id;//主键id
    private String usercode;//若是第三方登录，系统将自动生成唯一账号；自注册用户则为邮箱或者手机号
    private String userpassword;//若是第三方登录，系统将自动生成唯一密码；自注册用户则为自定义密码
    private Integer userType;//用户类型（标识：0 自注册用户 1 微信登录 2 QQ登录 3 微博登录）
    private Integer flatId;//平台ID（根据不同登录用户，进行相应存入：自注册用户主键ID、微信ID、QQID、微博ID）
    private String userName;//用户昵称
    private String weChat;//微信号
    private String QQ;//QQ号
    private String weiBo;//微博号
    private Integer userage;//用户年龄
    private String usersix;//用户性别
    private Integer activated;//是否是注销账号,(0 false，1 true,默认是0)
    private Date updateTime;//用户创建时间

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsercode() {
        return usercode;
    }

    public void setUsercode(String usercode) {
        this.usercode = usercode;
    }

    public String getUserpassword() {
        return userpassword;
    }

    public void setUserpassword(String userpassword) {
        this.userpassword = userpassword;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public Integer getFlatId() {
        return flatId;
    }

    public void setFlatId(Integer flatId) {
        this.flatId = flatId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getWeChat() {
        return weChat;
    }

    public void setWeChat(String weChat) {
        this.weChat = weChat;
    }

    public String getQQ() {
        return QQ;
    }

    public void setQQ(String QQ) {
        this.QQ = QQ;
    }

    public String getWeiBo() {
        return weiBo;
    }

    public void setWeiBo(String weiBo) {
        this.weiBo = weiBo;
    }

    public Integer getUserage() {
        return userage;
    }

    public void setUserage(Integer userage) {
        this.userage = userage;
    }

    public String getUsersix() {
        return usersix;
    }

    public void setUsersix(String usersix) {
        this.usersix = usersix;
    }

    public Integer getActivated() {
        return activated;
    }

    public void setActivated(Integer activated) {
        this.activated = activated;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
